package com.zhixue.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhixue.content.model.dto.CourseTeacherDto;
import com.zhixue.content.model.po.CourseTeacher;
import com.zhixue.r.R;

import java.util.List;

/**
 * @Auther: 李 力
 * @Date: 2025/4/11
 * @Description: com.zhixue.content.service
 * @version: 1.0
 */
public interface CourseTeacherService extends IService<CourseTeacher> {
    CourseTeacher addTea(CourseTeacherDto teacherDto);

    List<CourseTeacher> selectByCourseId(Long id);

    CourseTeacher updateTea(CourseTeacher courseTeacher);

    R deleteTea(Long courseId, Long teaId);
}
